package com.better.backend.mqReceiverService.calType.model;

/**
 * @author  用于Java8 计算排名工具类
 * @create 2017-11-17 14:14
 **/
public class SortUtil {
    private int num = 1;

    public int getNum() {
        return num++;
    }

    public void setNum(int num) {
        this.num = num;
    }

    /**
     * 重置排名
     */
    public void reSetNum(){
        this.num = 1;
    }
}
